/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #bbd;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}

.navbar {
  margin-bottom: 0px;
}

/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
  box-shadow: inset 0 0 100px rgba(0,0,0,.5);
  margin-bottom: 60px;
  padding: 60px 15px 0;
}
.site-wrapper-inner {
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}

/*
 * Header
 */
.masthead-brand {
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}
.navbar-static-top {
  top: 0;
  border-width: 0 0 1px;
}

/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}

/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}

/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    /*width: 900px;*/
    padding-right: 30px;
    padding-left: 30px;
  }
}

/*
* Panel
*/

.row{
  margin-right: -15px;
  margin-left: -15px;
}

.panel-profile{
  border:none;
  margin-bottom:0;
  box-shadow:none;
  background-color: #333;
  border: 1px solid #fff;
}

.panel-profile .no-bg
{
  background: inherit;
}

.profile .panel-heading
{
  border: 1px solid #fff;
}

.profile .panel-heading.overflow-h i.pull-right
{
  top:7px;
  position:relative;
}

.btn-u
{
  border: 1px solid #fff;
  padding-left: 3px;
  padding-right: 3px;
}

/*
* blcok
*/

.mCSB_container {
  position: relative;
  top: 0px;
  left: 0px;
  overflow: hidden;
  width: auto;
  height: auto;
}

.profile-event
{
  padding: 10px 15px;
  margin-bottom: 2px;
  border: 1px solid #fff;
}

.profile-event .block-profile
{
  width: 135px;
  height: 65px;
  float: left;
  text-align: center;
  margin: 2px 13px 0 0;
  padding: 7px 10px 4px;
  border: 1px solid #fff;
}
/* 
.block-detail-shortcut a,
a:focus,
a:hover {
  color: rgb(48, 142, 219);
} */

/* Transaction */
.profile-post
{
  margin-bottom: 2px;
  padding: 7px 7px 7px 0;
  border: 1px solid #fff;
}

.profile-post .txn-left
{
  height: 65px;
  float: left;
  vertical-align: bottom;
  margin: 2px 13px 0 0;
  padding: 7px 10px 4px;
}

.profile-post .txn-profile {
  text-align: center;
}

.hash-tag-frontpage {
  overflow: hidden;
  /* width: 300px; */
  vertical-align: bottom;
}

.address-tag {
  /* width: 300px; */
  overflow: hidden; 

}

h3.heading-xs {
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 1px;
}

/* ScrollBar */
.scroll-pane
{
	width: 100%;
	height: 650px;
	overflow: auto;
}
.vertical-only
{
	height: auto;
	max-height: 650px;
}

/* Tabel */
.table
{
  text-align: left;
}

/* Form */
.form_post
{
  text-align: left;
}

.form_post .form_group
{
  margin-bottom: 10px;
}

.form_post .form-control
{
  background-color: #333;
  color: #bbd;
}

/* menu */
.dropdown-menu>li>a{
  color: #fff;
}
.open>.dropdown-menu
{
  background-color: #333;
}

.dropdown-menu
{
  border: 1px solid #fff;
}

.dropdown-menu>li>a:hover {
  background-color: #333;
  color: #fff;
}

/* piazza */
.row-left
{
  margin-top: 2px;
  margin-bottom: 1px;
  padding-left: 0px;
  padding-right: 0px;
}

.row-right
{
  margin-top: 3px;
  padding-left: 0px;
}

.sidebar-row
{
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}

.btn-default, .btn-default:hover, .btn-default:focus {
  color: #333;
  text-shadow: none;
  background-color: #bbd;
  border: 1px solid #fff;
}

/* The sidebar menu */
.sidenav {
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 10px;
  border: 1px solid #fff;
}

.question-shortcut
{
  border: 1px solid #fff;
  margin-top: 5px;
  width: 95%;
}

.question-shortcut .panel-heading
{
  text-align: left;
}

.question-shortcut .panel-body
{
  text-align: left;
  border-top: 1px solid #fff;
}

.panel-footer-custom
{
  text-align:right; 
  background-color:#bbd; 
  border: 1px solid #fff;
  color: #333;
}

.piazza-a a, a:focus, a:hover {
  color: #fff;
  text-decoration: none;
}

.answer-row
{
  display: table;
  width: 100%;
  border: 1px, solid, #fff;
}

.answer-column
{
  display: table-cell;
}

.piazza-post
{
  padding-left: 10px;
  padding-right: 15px;
  padding-top: 15px;
  padding-bottom: 15px;
  border: 1px solid #fff;
}

.user-info
{
  float: right;
  margin-top: 10px;
  margin-bottom: 10px;
}

.user-info >img,
.user-info > p
{
  display: inline-block;
}

.answer-wrapper
{
  padding-left: 10px;
  padding-right: 10px;
  border: 1px solid #fff;
  margin-top: 10px;
  border-radius: 5px;
}

.answer-content
{
  margin-top: 10px;
}

.vote-panel
{
  margin-bottom: 10px;
}

.votes
{
  margin-top: 5px;
  margin-bottom: 5px;
  padding-left: 15px;
}

.breadcrumbs
{
  border-bottom: 1px solid #999;
  border-top: 1px solid #999;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  background-color: #333;
  margin-bottom: 10px;
}

.breadcrumb>li+li:before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}

.breadcrumb
{
  padding: 8px 15px;
  background-color: #333;
  margin-top: 25px;
}

.overflow
{ 
  width: 300px; 
  overflow:hidden;
  white-space:nowrap;  
} 

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: black;
}


/* Center the loader */
#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 16px solid #fff;
  border-radius: 50%;
  border-top: 16px solid #bbd;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}

.up { 
  margin-left: 20px; 
  border:solid 1px #bbd; 
  cursor:pointer; 
  width:100px; 
  padding-left: 10px; 
  padding-right:10px; 
}

.box { 
  margin-left: 20px; 
  border:solid 1px #bbd; 
  cursor:pointer; 
  width:100px; 
  padding-left: 10px; 
  padding-right:10px; 
}

.verify { 
  margin-left: 20px; 
  border:solid 1px #bbd; 
  cursor:pointer; 
  width:100px; 
  padding-left: 10px; 
  padding-right:10px; 
}

.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid #fff;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  height: 40px;
  background-color: #bbd;
  color: #333;
}

.panel-heading-piazza {
  padding: 10px 15px;
  border-bottom: 1px solid #fff;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  height: 25px;
}

.panel-button {
  border-color: #333;
  color: #333;
  background-color: #bbd;
  border-radius: 5px;
}

.like {
  float: left;
  margin-top: 10px;
  margin-bottom: 10px;
}
